<template>
  <div class="app-container home">
    <img src="../assets/images/2025AI.jpeg">
    <div class="active-list">
      <div class="item" v-for="(item, index) in activeList" :key="item.value">
        <div class="top">活动{{ index + 1 }}：{{ item.label }}</div>
        <div class="content">
          <div class="tex1">{{ item.text1 }}</div>
          <div class="tex2">{{ item.text2 }}</div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "Index",
  data() {
    return {
      activeList: [
        { label: 'AI艺术生成', value: 1, text1: '传统文化的“创新创造”', text2: '利用AI赋能文化艺术，探索艺术与科技融合创新路径，培养青少年创新应用能力及审美素养' },
        { label: 'AI交互设计', value: 2, text1: '“对话”中华文明', text2: '利用AI赋能文化艺术，探索艺术与科技融合创新路径，培养青少年创新应用能力及审美素养' },
        { label: 'AI工程实践', value: 3, text1: '生活中的机器助手', text2: '利用AI赋能文化艺术，探索艺术与科技融合创新路径，培养青少年创新应用能力及审美素养' },
        { label: 'AI算法挑战', value: 4, text1: '数智北京', text2: '利用算法、可视化数据处理工具，探索跨学科算法应用模式，培养科学素养和批判性思维' },
        { label: 'AI创新教学案例征集', value: 5, text1: '数智教育', text2: '利用算法、可视化数据处理工具，探索跨学科算法应用模式，培养科学素养和批判性思维' },
      ],

    }
  }
}
</script>

<style scoped lang="scss">
.home {
  font-family: "open sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
  color: #676a6c;
  overflow-x: hidden;
  height: 100vh;
  display: flex;

  flex-direction: column;

  img {
    width: 100%;
    height: 500px;
  }


  .active-list {
    display: flex;
    flex-wrap: nowrap;
    column-gap: 24px;
    row-gap: 24px;
    padding: 24px 0px 24px;
    justify-content: space-between;

    .item {
      // min-width: 300px;
      background: linear-gradient(180deg, #E9FBFF 0%, #FFFFFF 100%);
      box-shadow: 0px 0px 17px 0px rgba(169, 190, 214, 0.17);
      min-height: 200px;
      display: flex;
      flex-direction: column;
      align-items: center;
      row-gap: 12px;
      padding: 24px;
      cursor: pointer;
      border-radius: 8px;

      .top {
        font-size: 20px;
        font-weight: bold;
      }

      .content {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        row-gap: 12px;

        .tex1 {
          font-size: 18px;
          font-weight: 500;
        }

        .tex2 {
          font-size: 16px;
        }
      }
    }
  }
}
</style>
